package com.litchi.utils;

public class Constants {
	
	
	public static final String ORDER_STATUS_UNPAID_KEY = "未付款";
	public static final String ORDER_STATUS_PAID_KEY = "已付款";
	public static final String ORDER_STATUS_UNSEND_KEY = "已发货";
	public static final String ORDER_STATUS_OK_KEY = "已完成";
	public static final String ORDER_PRICE_KEY = "orderprice";
	public static final String ORDER_ID_KEY = "orderid";

	public static int screenWidth=720;
	
	public static final String LOG = "SilkMarket";
	public static final String BRAND_KEY = "brand_goods";//跳转 到品牌商品列表界面
	public static final String GOODS_KEY = "detail_goods";//跳转到商品详情界面
	public static final String GOODS_SEARCH_KEY = "search_goods";//搜索商品跳转到列表界面
	public static final String USER_LOGIN_SP_KEY = "login";//用户登录信息

	public static final String USER_ID_KEY = "uid";//用户id即手机号key
	public static final String USER_PWD_KEY = "pwd";//用户密码key
	public static final String USER_KEY = "keyId";//用户信息标识key
	public static final String ADDRESS_KEY = "addresskey";//用户信息标识key
	public static final String CART_CONFIRM_KEY = "confirmcartkey";
	public static final String CART_CONFIRM_GOODS_KEY= "confirmgoodscartkey";
	public static final String CART_PRICE_KEY = "pricecartkey";
	public static final String NEW_ORDER = "neworder";
	public static final String ORDER_ID = "orderid";

	
	public static final int REQUEST_ORDER_ADDRESS_CODE = 1001;//

	public static final int BMOB_SUCCESS_CODE = 1002;//
	public static final int BMOB_FAIL_CODE = 1003;//
	public static final int BMOB_ORDER_GOODS_SUCCESS_CODE = 1004;//
	public static final int BMOB_ORDER_GOODS_FAIL_CODE = 1005;//

	public static final String HTTP_FILE="http://file.bmob.cn/";//文件url前缀

	public static final class INTENT_KEY{
 		public static final int LOGIN_REQUEST_CODE = 20000;
		public static final int LOGIN_RESULT_SUCCESS_CODE = 20001;
		public static final int REQUEST_CART_TO_DETAIL = 50000;
		/**从我的到更多，返回时刷新登录信息*/
		public static final int REQUEST_MOREACTIVITY = 60000;
		 
 		/**从我的关注跳转到首页*/
		public static final String FROM_FAVOR = "from_favor";
		/**从详情跳转到购物车*/
		public static final String FROM_DETAIL = "from_detail";
		/**刷新购物车商品数*/
		public static final String REFRESH_INCART = "refresh_incart";
		/**通过Bmob登录成功*/
		public static final String LOGIN_BMOB_SUCCESS = "bmob_success";
		/**注销*/
		public static final String LOGOUT = "logout";
	}
	
	public static final class BROADCAST_FILTER {
		public static final String FILTER_CODE = "broadcast_filter";
		public static final String EXTRA_CODE = "broadcast_intent";
	}
	
 
	
}
